# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Leo <thinkabit.ukim@gmail.com>
pkgname=py3-pytools
pkgver=2020.3.1
pkgrel=0
pkgdesc="Collection of tools for Python3"
options="!check" # Tests required unpackaged dependencies not specified in requires.txt
url="https://github.com/inducer/pytools"
# mips blocked due to py3-numpy
arch="noarch !mips !mips64"
license="MIT"
depends="python3 py3-decorator py3-appdirs py3-six py3-numpy"
makedepends="py3-setuptools"
source="$pkgname-$pkgver.tar.gz::https://github.com/inducer/pytools/archive/v$pkgver.tar.gz"
builddir="$srcdir/pytools-$pkgver"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="7e17152a1a8d6867311685ef9749895b40f4d1432daa65797928dfc1bee246c61c804029adfbe29ae47abaef0e166965676d49cd35829a06ce965eea9e78aa4e  py3-pytools-2020.3.1.tar.gz"
